package macrochip.vison.com.gps.utils;

import android.content.Context;

import java.util.Locale;

/**
 * Created by lushan
 * on 2017/5/20 10:54
 */

public class AppUtils {
    //判断当前系统是否为中文
    public static boolean isZh(Context context) {
        Locale locale = context.getResources().getConfiguration().locale;
        String language = locale.getLanguage();
        if (language.endsWith("zh"))
            return true;
        else
            return false;
    }
}
